import sqlite3

#class DB_Polyspect():


class DB_SFS():
	
	dbName = 'sfs.db'
	
	def addSFS(self, iSFS, iModel = 'C'):

		connection = sqlite3.connect( self.dbName )
		cursor = connection.cursor()

#		sql =  "SELECT iModel FROM sqlite_master "
#		sql += "WHERE type='table' "
#		sql += "ORDER BY iModel;"
				
		sql = """CREATE TABLE N030 (id INTEGER PRIMARY KEY AUTOINCREMENT, setting TEXT, value TEXT)"""

		cursor.execute(sql)
	
		data = cursor.fetchall()
		print data
	
		connection.commit()
		connection.close()

db = DB_SFS()
db.addSFS(None)